package com.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@TableName("shoppingorder")
public class ShoppingOrder {


    private String id;

    private String photo;


    private String comname;

    private BigDecimal price;

    private Integer sales;

    private String details;

    private String images;

    private Integer hid;

    private Integer status;

    private Integer number;

    private BigDecimal priceorder;

    private String dingname;

    private String phone;

    private String address;

    private Integer shithods;

    private Integer freight;

    private String ordernotes;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdata;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date paymentime;

    private Integer aid;

}
